<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>requestDemo3</title>
</head>
<body>
 <form action="/web/requestDemo3" method="post">
     用户名:<input type="text" name="username">
     密码:<input type="password" name="password"><br>
     爱好：
     <input type="checkbox" name="hobby" value="sport">运动
     <input type="checkbox" name="hobby" value="code"> 代码
     <input type="checkbox" name="hobby" value="sleep"> 睡觉
     <input type="submit" value="提交">

 </form>

</body>
</html>